package com.project.common.mapper;

import com.project.common.entity.SysRoleAuthorization;

import java.util.List;

public interface SysRoleAuthorizationMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteByRoleId(Integer roleId);

    int deleteByRoleIdAndAuId(Integer roleId,Integer auId);

    int insert(SysRoleAuthorization record);

    int insertSelective(SysRoleAuthorization record);

    SysRoleAuthorization selectByPrimaryKey(Integer id);

    List<SysRoleAuthorization> selectByRoleIdAndAuId(Integer roleId, Integer auId);

    int updateByPrimaryKeySelective(SysRoleAuthorization record);

    int updateByPrimaryKey(SysRoleAuthorization record);
}